package code;

import models.TreeNode;

public class Mirror {
    public void Solution(TreeNode root){
        if(root != null){
            TreeNode tem = root.left;
            root.left = root.right;
            root.right = tem;
            Solution(root.left);
            Solution(root.right);
        }
    }

}
